//
// Created by jsjxsy on 2022/8/10.
//
#include <iostream>
using namespace std;
struct Student
{
  float math;
  float english;
  float chinese;
};
enum JIJIE{
  Spring=10,
  Summer,
  Autumn,
  Winter
};
int main(void) {
  int a[4] = {0};
  for (int i = 0; i < 4; i++) {
    cout <<"a["<<i<<"]" <<a[i] << endl;
  }
  cout<<"============="<<endl;
  int b[4] = {1,1,1,1};
  for (int i = 0; i < 4; i++) {
    cout <<"b["<<i<<"]"<< b[i] << endl;
  }
  Student student={.math=83.5,.english=99.9,.chinese=96.5, };
  cout<<"math: " <<student.math<<endl;
  cout<<"english: " <<student.english<<endl;
  cout<<"chinese: " <<student.chinese<<endl;
  cout <<Spring<<endl;
  cout <<Summer<<endl;
  cout <<Autumn<<endl;
  cout <<Winter<<endl;
  return 0;
}
